Skip to contentSkip to conversation

Change in openvpn[master]: Remove unnecessary OpenSSL init and unit commands in unit tests

Openvpn-devel In review plaisthos (Code Review) 3 participants 7 messages Mar 11 – Mar 16 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1773243451000.I228f6fd9ff18256f09d4348df1fc48853f8e7306@...2715...

#1 lore raw

plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email )

Change subject: Remove unnecessary OpenSSL init and unit commands in unit tests
......................................................................

Remove unnecessary OpenSSL init and unit commands in unit tests

After the removal of OpenSSL 1.0.2 support these instructions are no longer needed and the main OpenVPN program also no longer calls them in init_ssl_lib or free_ssl_lib.

Also remove them from the unit tests. This also solves a deprecation warning on EVP_cleanup when compiling with aws-lc

Change-Id: I228f6fd9ff18256f09d4348df1fc48853f8e7306
---
M tests/unit_tests/openvpn/test_auth_token.c M tests/unit_tests/openvpn/test_crypto.c
M tests/unit_tests/openvpn/test_ncp.c
M tests/unit_tests/openvpn/test_pkt.c
M tests/unit_tests/openvpn/test_tls_crypt.c

5 files changed, 5 insertions(+), 43 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/68/1568/1

tests/unit_tests/openvpn/test_auth_token.c +1 -7
index 82c20c1..d28bd8a 100644
@@ -428,11 +428,5 @@
         cmocka_unit_test_setup_teardown(auth_token_test_session_mismatch, setup, teardown)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
-
-    return ret;
+    return cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_crypto.c +1 -11
index 1679d88..cb4eaa2 100644
@@ -963,15 +963,5 @@
         cmocka_unit_test(epoch_test_derive_data_key)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_ncp.c +1 -3
index 52a41ee..29365db 100644
@@ -407,8 +407,6 @@
 main(void)
 {
     openvpn_unit_test_setup();
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
+
     return cmocka_run_group_tests(ncp_tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_pkt.c +1 -11
index a94732d..cad2ce0 100644
@@ -765,15 +765,5 @@
         cmocka_unit_test(test_extract_control_message)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_tls_crypt.c +1 -11
index ed82279..1776d71 100644
@@ -673,15 +673,5 @@
         cmocka_unit_test(test_tls_crypt_v2_write_client_key_file_metadata),
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
 }

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I228f6fd9ff18256f09d4348df1fc48853f8e7306
Gerrit-Change-Number: 1568
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: plaisthos.

flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email )

Change subject: Remove unnecessary OpenSSL init and unit commands in unit tests
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I228f6fd9ff18256f09d4348df1fc48853f8e7306
Gerrit-Change-Number: 1568
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Wed, 11 Mar 2026 16:28:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#3 lore raw

PATCH v3 1/1 Remove unnecessary OpenSSL init and cleanup commands in unit tests

In reply to a message not in the archive

From: Arne Schwabe <[email protected]...>

After the removal of OpenSSL 1.0.2 support these instructions are no longer needed and the main OpenVPN program also no longer calls them in init_ssl_lib or free_ssl_lib.

Also remove them from the unit tests. This also solves a deprecation warning on EVP_cleanup when compiling with aws-lc

Change-Id I228f6fd9ff18256f09d4348df1fc48853f8e7306

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
This mail reflects revision 3 of this Change.

Signed-off-by line for the author was added as per our policy.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>

Note that I fixed the commit message subject line.

tests/unit_tests/openvpn/test_auth_token.c +1 -7
index 82c20c1..d28bd8a 100644
@@ -428,11 +428,5 @@
         cmocka_unit_test_setup_teardown(auth_token_test_session_mismatch, setup, teardown)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
-
-    return ret;
+    return cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_crypto.c +1 -11
index 1679d88..cb4eaa2 100644
@@ -963,15 +963,5 @@
         cmocka_unit_test(epoch_test_derive_data_key)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_ncp.c +1 -3
index 52a41ee..29365db 100644
@@ -407,8 +407,6 @@
 main(void)
 {
     openvpn_unit_test_setup();
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
+
     return cmocka_run_group_tests(ncp_tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_pkt.c +1 -11
index a94732d..cad2ce0 100644
@@ -765,15 +765,5 @@
         cmocka_unit_test(test_extract_control_message)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_tls_crypt.c +1 -11
index ed82279..1776d71 100644
@@ -673,15 +673,5 @@
         cmocka_unit_test(test_tls_crypt_v2_write_client_key_file_metadata),
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
 }
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: Remove unnecessary OpenSSL init and cleanup commands in unit tests

This is quite reasonable, making sure the unit tests follow the same code paths as "the main application". As such, I think it needs to go into 2.7 as well (done).

Lightly tested on an OpenSSL build.

Your patch has been applied to the master and release/2.7 branch.

commit 369c7510788d44747b75fceb61edbf30b87638f0 (master) commit 0bb9a2502124d97c937a910dc95154ab2db54036 ( release/2.7)

Author: Arne Schwabe
Date:   Mon Mar 16 13:11:48 2026 +0100
     Remove unnecessary OpenSSL init and cleanup commands in unit tests

     Signed-off-by: Arne Schwabe <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg36153.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#5 lore raw

PATCH v3 1/1 Remove unnecessary OpenSSL init and unit commands in unit tests

In reply to a message not in the archive

From: Arne Schwabe <[email protected]...>

After the removal of OpenSSL 1.0.2 support these instructions are no longer needed and the main OpenVPN program also no longer calls them in init_ssl_lib or free_ssl_lib.

Also remove them from the unit tests. This also solves a deprecation warning on EVP_cleanup when compiling with aws-lc

Change-Id I228f6fd9ff18256f09d4348df1fc48853f8e7306

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
This mail reflects revision 3 of this Change.

Signed-off-by line for the author was added as per our policy.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>

tests/unit_tests/openvpn/test_auth_token.c +1 -7
index 82c20c1..d28bd8a 100644
@@ -428,11 +428,5 @@
         cmocka_unit_test_setup_teardown(auth_token_test_session_mismatch, setup, teardown)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
-
-    return ret;
+    return cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_crypto.c +1 -11
index 1679d88..cb4eaa2 100644
@@ -963,15 +963,5 @@
         cmocka_unit_test(epoch_test_derive_data_key)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_ncp.c +1 -3
index 52a41ee..29365db 100644
@@ -407,8 +407,6 @@
 main(void)
 {
     openvpn_unit_test_setup();
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
+
     return cmocka_run_group_tests(ncp_tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_pkt.c +1 -11
index a94732d..cad2ce0 100644
@@ -765,15 +765,5 @@
         cmocka_unit_test(test_extract_control_message)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_tls_crypt.c +1 -11
index ed82279..1776d71 100644
@@ -673,15 +673,5 @@
         cmocka_unit_test(test_tls_crypt_v2_write_client_key_file_metadata),
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
 }
#6 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: Remove unnecessary OpenSSL init and cleanup commands in unit tests

In reply to a message not in the archive

cron2 has uploaded a new patch set (#4) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld

Change subject: Remove unnecessary OpenSSL init and cleanup commands in unit tests
......................................................................

Remove unnecessary OpenSSL init and cleanup commands in unit tests

After the removal of OpenSSL 1.0.2 support these instructions are no longer needed and the main OpenVPN program also no longer calls them in init_ssl_lib or free_ssl_lib.

Also remove them from the unit tests. This also solves a deprecation warning on EVP_cleanup when compiling with aws-lc

Change-Id I228f6fd9ff18256f09d4348df1fc48853f8e7306

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36153.html

---
M tests/unit_tests/openvpn/test_auth_token.c
M tests/unit_tests/openvpn/test_crypto.c
M tests/unit_tests/openvpn/test_ncp.c
M tests/unit_tests/openvpn/test_pkt.c
M tests/unit_tests/openvpn/test_tls_crypt.c

5 files changed, 5 insertions(+), 43 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/68/1568/4

tests/unit_tests/openvpn/test_auth_token.c +1 -7
index 82c20c1..d28bd8a 100644
@@ -428,11 +428,5 @@
         cmocka_unit_test_setup_teardown(auth_token_test_session_mismatch, setup, teardown)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
-
-    return ret;
+    return cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_crypto.c +1 -11
index 1679d88..cb4eaa2 100644
@@ -963,15 +963,5 @@
         cmocka_unit_test(epoch_test_derive_data_key)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_ncp.c +1 -3
index 52a41ee..29365db 100644
@@ -407,8 +407,6 @@
 main(void)
 {
     openvpn_unit_test_setup();
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
+
     return cmocka_run_group_tests(ncp_tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_pkt.c +1 -11
index a94732d..cad2ce0 100644
@@ -765,15 +765,5 @@
         cmocka_unit_test(test_extract_control_message)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_tls_crypt.c +1 -11
index ed82279..1776d71 100644
@@ -673,15 +673,5 @@
         cmocka_unit_test(test_tls_crypt_v2_write_client_key_file_metadata),
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
 }

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I228f6fd9ff18256f09d4348df1fc48853f8e7306
Gerrit-Change-Number: 1568
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#7 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: Remove unnecessary OpenSSL init and cleanup commands in unit tests

In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email )

Change subject: Remove unnecessary OpenSSL init and cleanup commands in unit tests
......................................................................

Remove unnecessary OpenSSL init and cleanup commands in unit tests

After the removal of OpenSSL 1.0.2 support these instructions are no longer needed and the main OpenVPN program also no longer calls them in init_ssl_lib or free_ssl_lib.

Also remove them from the unit tests. This also solves a deprecation warning on EVP_cleanup when compiling with aws-lc

Change-Id I228f6fd9ff18256f09d4348df1fc48853f8e7306

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1568
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36153.html

---
M tests/unit_tests/openvpn/test_auth_token.c
M tests/unit_tests/openvpn/test_crypto.c
M tests/unit_tests/openvpn/test_ncp.c
M tests/unit_tests/openvpn/test_pkt.c
M tests/unit_tests/openvpn/test_tls_crypt.c

5 files changed, 5 insertions(+), 43 deletions(-)
tests/unit_tests/openvpn/test_auth_token.c +1 -7
index 82c20c1..d28bd8a 100644
@@ -428,11 +428,5 @@
         cmocka_unit_test_setup_teardown(auth_token_test_session_mismatch, setup, teardown)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
-
-    return ret;
+    return cmocka_run_group_tests_name("auth-token tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_crypto.c +1 -11
index 1679d88..cb4eaa2 100644
@@ -963,15 +963,5 @@
         cmocka_unit_test(epoch_test_derive_data_key)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_ncp.c +1 -3
index 52a41ee..29365db 100644
@@ -407,8 +407,6 @@
 main(void)
 {
     openvpn_unit_test_setup();
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
+
     return cmocka_run_group_tests(ncp_tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_pkt.c +1 -11
index a94732d..cad2ce0 100644
@@ -765,15 +765,5 @@
         cmocka_unit_test(test_extract_control_message)
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("pkt tests", tests, NULL, NULL);
 }
tests/unit_tests/openvpn/test_tls_crypt.c +1 -11
index ed82279..1776d71 100644
@@ -673,15 +673,5 @@
         cmocka_unit_test(test_tls_crypt_v2_write_client_key_file_metadata),
     };
 
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    OpenSSL_add_all_algorithms();
-#endif
-
-    int ret = cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
-
-#if defined(ENABLE_CRYPTO_OPENSSL)
-    EVP_cleanup();
-#endif
-
-    return ret;
+    return cmocka_run_group_tests_name("tls-crypt tests", tests, NULL, NULL);
 }

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1568?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I228f6fd9ff18256f09d4348df1fc48853f8e7306
Gerrit-Change-Number: 1568
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>